//
//  UIImage.h
//  Meng800
//
//  Created by 姚宗超 on 14/7/29.
//  Copyright (c) 2014年 点财网. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface UIImage (Common)
+ (UIImage *)imageFromColor:(UIColor *)color;

+ (UIImage *)imageFromColor:(UIColor *)color imageSize:(CGSize)size;

/**
 * Return the image scaled to fill the specified size. The image will be stretched as needed
 */
- (UIImage *)imageScaledToSize:(CGSize)size;

// 屏幕截图
+ (UIImage *)screenshot;

@end
